package com.stylefeng.guns.rest.common.persistence.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 用户固定信息表
 * </p>
 *
 * @author ruiyifeng123
 * @since 2019-03-28
 */
@TableName("wz_user_fixed_info")
public class WzUserFixedInfo extends Model<WzUserFixedInfo> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * (用户编号)邀请码
     */
    @TableField("user_code")
    private Long userCode;
    /**
     * 出生日期
     */
    private String birthday;
    /**
     * 性别：0-默认；1-男；2-女
     */
    private Integer gender;
    /**
     * 真实姓名
     */
    @TableField("real_name")
    private String realName;
    /**
     * 身份证号码
     */
    @TableField("id_card")
    private String idCard;
    /**
     * 身份证正面图片链接
     */
    @TableField("id_card_front_url")
    private String idCardFrontUrl;
    /**
     * 身份证反面图片链接
     */
    @TableField("id_card_back_url")
    private String idCardBackUrl;
    /**
     * 身份证地址
     */
    @TableField("id_card_address")
    private String idCardAddress;
    /**
     * 名族
     */
    private String nationality;
    /**
     * 支付宝userId
     */
    @TableField("alipay_user_id")
    private String alipayUserId;
    /**
     * 微信openid
     */
    @TableField("weixin_openid")
    private String weixinOpenid;
    /**
     * 微信unionid
     */
    private String unionid;
    /**
     * 商户名称
     */
    @TableField("merchant_name")
    private String merchantName;
    /**
     * 营业执照图片链接
     */
    @TableField("merchant_license_url")
    private String merchantLicenseUrl;
    /**
     * 公司法人
     */
    @TableField("merchant_person")
    private String merchantPerson;
    /**
     * 公司地址
     */
    @TableField("merchant_address")
    private String merchantAddress;
    /**
     * 公司注册资本
     */
    @TableField("merchant_captial")
    private String merchantCaptial;
    /**
     * 公司注册号
     */
    @TableField("merchant_reg_num")
    private String merchantRegNum;
    /**
     * 公司注册时间
     */
    @TableField("merchant_establish_date")
    private String merchantEstablishDate;
    /**
     * 公司终止时间
     */
    @TableField("merchant_valid_period")
    private String merchantValidPeriod;
    /**
     * 公司经营范围
     */
    @TableField("merchant_business")
    private String merchantBusiness;
    /**
     * 注册时间
     */
    @TableField("register_time")
    private Date registerTime;
    /**
     * 用户手机唯一编号
     */
    private String uuid;
    /**
     * 状态：1-正常；2-实名认证中；3-实名认证驳回；4-实名认证通过；5-商户认证中；6-商户认证驳回；7-商户认证通过；
     */
    private Integer status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserCode() {
        return userCode;
    }

    public void setUserCode(Long userCode) {
        this.userCode = userCode;
    }

    public String getBirthday() {
        return birthday;
    }

    public void setBirthday(String birthday) {
        this.birthday = birthday;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getIdCardFrontUrl() {
        return idCardFrontUrl;
    }

    public void setIdCardFrontUrl(String idCardFrontUrl) {
        this.idCardFrontUrl = idCardFrontUrl;
    }

    public String getIdCardBackUrl() {
        return idCardBackUrl;
    }

    public void setIdCardBackUrl(String idCardBackUrl) {
        this.idCardBackUrl = idCardBackUrl;
    }

    public String getIdCardAddress() {
        return idCardAddress;
    }

    public void setIdCardAddress(String idCardAddress) {
        this.idCardAddress = idCardAddress;
    }

    public String getNationality() {
        return nationality;
    }

    public void setNationality(String nationality) {
        this.nationality = nationality;
    }

    public String getAlipayUserId() {
        return alipayUserId;
    }

    public void setAlipayUserId(String alipayUserId) {
        this.alipayUserId = alipayUserId;
    }

    public String getWeixinOpenid() {
        return weixinOpenid;
    }

    public void setWeixinOpenid(String weixinOpenid) {
        this.weixinOpenid = weixinOpenid;
    }

    public String getUnionid() {
        return unionid;
    }

    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }

    public String getMerchantName() {
        return merchantName;
    }

    public void setMerchantName(String merchantName) {
        this.merchantName = merchantName;
    }

    public String getMerchantLicenseUrl() {
        return merchantLicenseUrl;
    }

    public void setMerchantLicenseUrl(String merchantLicenseUrl) {
        this.merchantLicenseUrl = merchantLicenseUrl;
    }

    public String getMerchantPerson() {
        return merchantPerson;
    }

    public void setMerchantPerson(String merchantPerson) {
        this.merchantPerson = merchantPerson;
    }

    public String getMerchantAddress() {
        return merchantAddress;
    }

    public void setMerchantAddress(String merchantAddress) {
        this.merchantAddress = merchantAddress;
    }

    public String getMerchantCaptial() {
        return merchantCaptial;
    }

    public void setMerchantCaptial(String merchantCaptial) {
        this.merchantCaptial = merchantCaptial;
    }

    public String getMerchantRegNum() {
        return merchantRegNum;
    }

    public void setMerchantRegNum(String merchantRegNum) {
        this.merchantRegNum = merchantRegNum;
    }

    public String getMerchantEstablishDate() {
        return merchantEstablishDate;
    }

    public void setMerchantEstablishDate(String merchantEstablishDate) {
        this.merchantEstablishDate = merchantEstablishDate;
    }

    public String getMerchantValidPeriod() {
        return merchantValidPeriod;
    }

    public void setMerchantValidPeriod(String merchantValidPeriod) {
        this.merchantValidPeriod = merchantValidPeriod;
    }

    public String getMerchantBusiness() {
        return merchantBusiness;
    }

    public void setMerchantBusiness(String merchantBusiness) {
        this.merchantBusiness = merchantBusiness;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    public String getUuid() {
        return uuid;
    }

    public void setUuid(String uuid) {
        this.uuid = uuid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "WzUserFixedInfo{" +
        "id=" + id +
        ", userCode=" + userCode +
        ", birthday=" + birthday +
        ", gender=" + gender +
        ", realName=" + realName +
        ", idCard=" + idCard +
        ", idCardFrontUrl=" + idCardFrontUrl +
        ", idCardBackUrl=" + idCardBackUrl +
        ", idCardAddress=" + idCardAddress +
        ", nationality=" + nationality +
        ", alipayUserId=" + alipayUserId +
        ", weixinOpenid=" + weixinOpenid +
        ", unionid=" + unionid +
        ", merchantName=" + merchantName +
        ", merchantLicenseUrl=" + merchantLicenseUrl +
        ", merchantPerson=" + merchantPerson +
        ", merchantAddress=" + merchantAddress +
        ", merchantCaptial=" + merchantCaptial +
        ", merchantRegNum=" + merchantRegNum +
        ", merchantEstablishDate=" + merchantEstablishDate +
        ", merchantValidPeriod=" + merchantValidPeriod +
        ", merchantBusiness=" + merchantBusiness +
        ", registerTime=" + registerTime +
        ", uuid=" + uuid +
        ", status=" + status +
        "}";
    }
}
